process rules